const Result = require('./result')

exports.createSuccess = data => {
  return new Result(200, 'success', data)
}

exports.createFail = msg => {
  return new Result(-1, msg)
}
